#
# Be sure to run `pod lib lint MediaRecordSDK.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'MediaRecordSDK'
  s.version          = '0.1.3'
  s.summary          = 'A short description of MediaRecordSDK.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = "A Video Record SDK"

  s.homepage         = 'https://gitee.com/hyq0810/MediaRecordSDK'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'hyq0810' => '792300249@qq.com' }
  s.source           = { :git => 'https://gitee.com/hyq0810/MediaRecordSDK.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '10.0'
  
  s.swift_version = '5.0'

  s.source_files = 'MediaRecordSDK/Classes/**/*'
  
   s.resource_bundles = {
     'MediaRecordSDK' => ['MediaRecordSDK/Assets/*']
   }
   
   s.pod_target_xcconfig = {
     # This is needed by all pods that depend on Protobuf:
     'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1',
     # This is needed by all pods that depend on gRPC-RxLibrary:
     'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES'
   }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  s.dependency 'SVGAPlayer'
  s.dependency 'GPUImage'
  s.dependency 'SnapKit', '~> 5.0.0'
end
